package cn.edu.zju.core.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zcx
 * @since 2024-06-06
 */
@RestController
@RequestMapping("/core/user")
public class UserController {


    @GetMapping("/getAll")
    public String getUsers(@RequestParam("id") Integer id){
        System.out.println(id);
        return "ok";
    }
}
